var util = require('../../../utils/util.js');
var api = require('../../../config/api.js');
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    list: [],
    isEmpty: false,
  },

  onLoad: function (options) {
    let that = this;
    util.request(api.getShopKuaidiUrl, {
      no: options.nu
    }).then(function (res) {
      that.setData({
        list: res.data
      })
    });
  },
  makePhoneCall() {
    wx.makePhoneCall({
      phoneNumber: this.data.list.result.expPhone
    })
  },
  onShow: function () {},

})